package com.star.security.authentication.wxapp.response;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 微信登录响应
 *
 * @author yangzj
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class WxappLoginResponse extends WxappResponse {

    @JsonAlias("session_key")
    private String sessionKey;

    @JsonAlias("openid")
    private String openId;

    @JsonAlias("unionid")
    private String unionId;
}
